﻿using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace SpectrumAnalyser.Shell.Extensions
{
    public static class ObservableCollectionExtensions
    {
         public static void AddRange<T>(this ObservableCollection<T> collection, IList<T> range)
         {
             foreach (var VARIABLE in range)
             {
                 collection.Add(VARIABLE);
             }
         }
    }
}